import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component:resolve => {require(['@/components/HelloWorld'],resolve)}
    },
    {
      path:'/count',
      name:'Count',
      component:resolve => {require(['@/components/count'],resolve)}
    },
    {
      path:'/money',
      name:'Money',
      component:resolve => {require(['@/components/money'],resolve)}
    }
  ]
})
